package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.dal.model.userx.OrganizationRoleDO;

import java.util.List;

/**
* 机构-角色
* Created by Mybatis Generator on 2023/07/04
*/
public interface OrganizationRoleDAO {
    int deleteByPrimaryKey(Long id);

    int insert(OrganizationRoleDO record);

    int insertSelective(OrganizationRoleDO record);

    OrganizationRoleDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrganizationRoleDO record);

    int updateByPrimaryKey(OrganizationRoleDO record);

    List<Long> selectRoleIdsByOrgId(Long organizationId);

    int insertBatch(List<OrganizationRoleDO> records);

    int deleteByOrgId(Long organizationId);
}